package com.seafood.dto;

import lombok.Data;

/**
 * 文件上传响应DTO
 */
@Data
public class FileUploadResponseDTO {
    
    private Long fileId;
    
    private String originalFilename;
    
    private String fileUrl;
    
    private String thumbnailUrl;
    
    private Long fileSize;
    
    private String contentType;
    
    private String fileType;
    
    private String businessType;
    
    private Long businessId;
    
    private String fileMd5;
    
    private Boolean isPublic;
    
    private String uploadTime;
    
    public FileUploadResponseDTO() {}
    
    public FileUploadResponseDTO(Long fileId, String originalFilename, String fileUrl, String fileType) {
        this.fileId = fileId;
        this.originalFilename = originalFilename;
        this.fileUrl = fileUrl;
        this.fileType = fileType;
    }
}